package com.uchedao.seller.model;

/**
 * Created by ZhangZhanghua on 2015/10/24 0024.
 */
public class SeriesEntity extends IndexSelectItem{
    public static final String SEARCH_SERIES_BY_BRANDE_ID = "select * from car_series where brand_id =? order by lower(full_spell);";
    //    id	int	ID
//    brand_id	int	品牌ID
//    series_id	int	厂商ID
//    full_spell	string	拼音
//    type_id	int	车类型
//    import_id	int	1进口 2合资 3国产
//    char	string	首字母 别名initial
//    name	string	全拼
//    name	string	名称 别名text
//    path	string	网站路径
    private int id;
    private int brand_id;
    private int series_id;
    private String full_spell;
    private int type_id;
    private int import_id;
    private String initial;
    private String path;
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getBrand_id() {
        return brand_id;
    }

    public void setBrand_id(int brand_id) {
        this.brand_id = brand_id;
    }

    public int getSeries_id() {
        return series_id;
    }

    public void setSeries_id(int series_id) {
        this.series_id = series_id;
    }

    public String getFull_spell() {
        return full_spell;
    }

    public void setFull_spell(String full_spell) {
        this.full_spell = full_spell;
    }

    public int getType_id() {
        return type_id;
    }

    public void setType_id(int type_id) {
        this.type_id = type_id;
    }

    public int getImport_id() {
        return import_id;
    }

    public void setImport_id(int import_id) {
        this.import_id = import_id;
    }

    public String getInitial() {
        return initial;
    }

    public void setInitial(String initial) {
        this.initial = initial;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    @Override
    public String getIndexSelectAlpha() {
        return initial;
    }

    @Override
    public String getIndexSelectName() {
        return name;
    }
}
